TELAlert
Rings a terminal.
pascal TELErr TELAlert ( TELHandle hTEL, short *level, short alertPattern);
hTEL
- A handle to a telephone record associated with a telephone terminal.
level
- On entry, a value that indicates the desired volume level of the specified alert pattern. On exit, a value that indicates the actual volume level of that pattern.
alertPattern
- An alerting pattern. See "Alerting Patterns" on page 2-15 for the values you can pass in this parameter.
- function result
- A result code.
DESCRIPTION
TheTELAlert
function causes the terminal specified by thehTEL
parameter to alert by emitting the ringing pattern specified by thealertPattern
parameter at the volume level specified by thelevel
parameter. The value specified in thelevel
parameter should be betweentelVolMin
andtelVolMax
. You can also pass the valuetelVolSame
to have the volume remain at its current level.Alerting patterns are terminal-dependent. To determine which alerting patterns and volume levels a terminal supports, inspect the
ringerTypes
andringerVol
fields of the telephone terminal record associated with thehTEL
parameter.SPECIAL CONSIDERATIONS
TheTELAlert
function controls only the ringer of a telephone terminal, not those provided by applications.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help